//
// Created by 17775 on 2024/7/8.
//

#ifndef RAYCI_SURFACEGRAPH_H
#define RAYCI_SURFACEGRAPH_H

#include <QtCore/qobject.h>
#include <QtDataVisualization/q3dsurface.h>

class SurfaceGraph : public QObject {
Q_OBJECT
public:
    SurfaceGraph();
    ~SurfaceGraph();

    bool initialize(const QSize &minimumGraphSize, const QSize &maximumGraphSize);
    QWidget *surfaceWidget() { return m_surfaceWidget; }

private:
    Q3DSurface *m_surfaceGraph = nullptr;
    QWidget *m_container = nullptr;
    QWidget *m_surfaceWidget = nullptr;
};


#endif //RAYCI_SURFACEGRAPH_H
